<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://java.sun.com/jsp/jstl/core">

<ui:composition template="/WEB-INF/templates/principal.xhtml">
	<ui:define name="content-container2">
		<div id="section-navigation">						
			<h3>Op&ccedil;&otilde;es</h3>
			<p:separator id="separator2"/>
			<div id="link-menu">
				<h:outputLink value="#{request.contextPath}/parceiro/admin/relatorios.jsf" >Relat&oacute;rios</h:outputLink>
			</div>			
			<div id="link-menu">
				<h:outputLink  value="#{request.contextPath}/parceiro/admin/minhasOfertas.jsf" >Minhas Ofertas</h:outputLink>				
			</div>
			<div id="link-menu">
				<h:outputLink  value="#{request.contextPath}/parceiro/admin/atualizarCadastro.jsf" >Atualizar cadastro</h:outputLink>				
			</div>		
		</div>
		<div id="content">
			<ui:insert name="conteudo"/>
			<h3>Atualizar Cadastro</h3>
			<p:separator id="separator"/>
			<h:form id="formTipoPessoa">
				<h:panelGrid columns="2" cellpadding="5">
					<p:selectOneRadio id="pessoa" value="2">			              
			            <f:selectItem itemLabel="Pessoa jur&iacute;dica" itemValue="2"/>
			            <f:selectItem itemLabel="Pessoa f&iacute;sica" itemValue="1" />	             
			        </p:selectOneRadio>
				</h:panelGrid>
			</h:form>			
			<h:form id="formAtualizarParceiro">				
				<h:panelGrid columns="2" cellpadding="5">
					<h:outputLabel value="Respons&aacute;vel *" for="responsavel"/>
					<p:inputText value="" id="responsavel" size="50"/>
					<h:outputLabel value="E-mail *" for="email"/>
					<p:inputText value="" id="email" size="50"/>
					<h:outputLabel for="senha" value="Senha *" />  
            		<p:password id="senha" value="" match="senha2" label="Senha" required="true"/>
            		<h:outputLabel for="senha2" value="Confirmar senha *" />  
            		<p:password id="senha2" value="" label="Confirmar senha" required="true"/>
					<h:outputLabel value="Nome do site *" for="nomeSite"/>
					<p:inputText value="" id="nomeSite" size="50"/>
					<h:outputLabel value="Url do site *" for="urlSite"/>
					<p:inputText value="" id="urlSite" size="50"/>
					<h:outputLabel value="Telefone *" for="telefone"/>
					<p:inputMask value="" id="telefone" size="15" mask="(99) 9999-9999"/>
					<h:outputLabel value="Celular *" for="celular"/>
					<p:inputMask value="" id="celular" size="15" mask="(99) 9999-9999"/>									
					<h:outputLabel value="Estado *" for="estado"/>  
			        <p:selectOneMenu value="" id="estado">  
			            <f:selectItem itemLabel="RJ" itemValue="0" />
			            <f:selectItem itemLabel="SP" itemValue="1" />			              
			        </p:selectOneMenu>
			        <h:outputLabel value="Cidade *" for="cidade"/>  
			        <p:selectOneMenu value="" id="cidade">  
			            <f:selectItem itemLabel="Rio de Janeiro" itemValue="0" />
			            <f:selectItem itemLabel="São Paulo" itemValue="1" />			              
			        </p:selectOneMenu>
			        <h:outputLabel value="Cnpj *" for="cnpj"/>
					<p:inputMask value="" id="cnpj" size="20" mask="99.999.999/9999-99"/>
					<h:outputLabel value="Cpf *" for="cpf"/>
					<p:inputMask value="" id="cpf" size="20" mask="999.999.999-99"/>
					<p:commandButton value="Enviar"/>
				</h:panelGrid>
				<br/>
				<h:outputLabel value="* Campos obrigat&oacute;rios"/>			
			</h:form>
		</div>
	</ui:define>
</ui:composition>

</html>